package com.zbkj.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 附件管理表
 * </p>
 *
 * @author Your Name
 * @since 2024-12-02
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@TableName("eb_system_attachment")
@ApiModel(value="SystemAttachment对象", description="附件管理表")
public class SystemAttachment implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "att_id", type = IdType.AUTO)
      private Integer attId;

      @ApiModelProperty(value = "附件名称")
      private String name;

      @ApiModelProperty(value = "附件路径")
      private String attDir;

      @ApiModelProperty(value = "压缩图片路径")
      private String sattDir;

      @ApiModelProperty(value = "附件大小")
      private String attSize;

      @ApiModelProperty(value = "附件类型")
      private String attType;

      @ApiModelProperty(value = "分类ID0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图， 7前台用户")
      private Integer pid;

      @ApiModelProperty(value = "图片上传类型 1本地 2七牛云 3OSS 4COS ")
      private Integer imageType;

      @ApiModelProperty(value = "创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty(value = "更新时间")
      private LocalDateTime updateTime;


}
